package SQL.abysnSQL;

/*	select-expr ::= value | func(col-name) | **/

public class SelectExpr {
	public Value value;
	public Func func;
	public ColName colname;
	public TYPE type;
	
	public static enum TYPE {
		VALUE, FUNC, ALL
	}
	
	public SelectExpr(Value v){
		value = v;
		type = TYPE.VALUE;
	}
	
	public SelectExpr(Func f,ColName cn){
		func = f;
		colname = cn;
		type = TYPE.FUNC;
	}
	
	public SelectExpr(){
		type = TYPE.ALL;
	}
}
